package gz.copydatabase.BroadcastReceiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import gz.copydatabase.Application.ApplicationExd;
import gz.copydatabase.Utils.SPUtils;


/**
 * Created by Administrator on 2017/3/21.
 */

public class UsbBroadcastReceive extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        String path=intent.getData().getPath();
        Log.i("hello",path);
        ApplicationExd.settingInfo.putString(SPUtils.Key.USB_PATH,path);
    }
}
